package com.bingo.demo.DAO;

import com.bingo.demo.pojo.Album;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface AlbumMapper {

    Album findById(Integer id);

    List<Album> findByUserId(Integer userId);

    void addAlbum(Album album);

    void deleteById(Integer id);


}
